package me.sealer.ssm.controller.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import me.sealer.ssm.model.Permission;

import java.util.List;

/**
 * @author sealer
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "角色权限列表查询响应报文体")
public class QueryPermissionsResponse {
    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "角色拥有的权限id列表")
    private List<Integer> havingPermissionsIds;

    @ApiModelProperty(value = "系统内所有权限列表")
    private List<Permission> allPermissions;
}
